package com.retail.lottery.colalottery.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 品牌业务数据回传处理进度
 */
@Getter
public enum MessageNoticeStatusEnum {
    WAIT(0, "待发送"),
    SUCCESS(1, "发送成功"),
    FAIL(2, "发送失败"),
    NO_REISSUE(3, "已发送，不需要再发"),
    AGAIN(4, "待重试"),


    ;

    @EnumValue
    @JsonValue
    private int status;

    private String desc;

    MessageNoticeStatusEnum(int status, String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return this.status;
    }
}
